Handles ACTIONS and sends them correctly, also correctly sends quit messages