Fix lots of things
Bugfixes, map system.