Rewrote map saving, now text based