Fixed logon's, logoff's, and also fixed emergency region ratio bugs