Addon_game_mode update and cleanup

rearranged functions and added stuff