Fixed a bit of a memory leak.
Redid some things, added comments, added async dispatcher.
Merge branch 'master' of https://github.com/Hadyn/ice