Added exception handler.
Added 'dissectControlMode()'.