Fix map data initialization. Fix top and mid layer swap bug. Fixes #15.