Made the map loading/saving work with console.