Fixed sharing and did some more cleanup

Moved stuff to ListDialog and now finally fixed the sharing bug, where
the onlineListKey was 0 and couldn't be checked locally
Merge pull request #66 from broggi/master

Fixed sharing and did some more cleanup