Added mandatory pos-fetching from database for sheeps. More small changes to map.
Small, but huge bug in main fixed. More map stuff.
Map-bugs fixed. Register optimized.
Merge remote-tracking branch 'origin/master'
Small bug changes.