I'm guessing MapEditor is a static reference to the class name?

A simple way to avoid any problems with a second MapEditor object being created is to move your statusBar variable from static to...