* Fixed two callbacks in the main window that were taking wrong arguments