Adds MBC3 support
Fixes Y-flip on 16px tiles
Adds window support
Implements localStorage saves
Adds save-on-close and save ident