main runs both guis