Finished upgrading map, battle, help, tutorial and config script to the new API.

Also fixed a few old mistakes there while seeing it.