As said, work in progress, if it works, cool, if it doesn't, don't lose sleep over it, there is going to be a new version in a matter of hours anyway (btw the sharing functions are unrelated to the 'engine', so what you see there is irrelevant, no matter how borked it looks).