Merged messagebox and mapreader into main