made E_main_handler

decides which new window to load when a user activates entry box