Make save and load work. Fix map edge bug. Fixes #3