Moved admin form code into an inc file, removed global vars, adjusted hook_menu_properties, created submit callback function