Minor code changes

Determined major crashing bug happens after logging in as an account
then issuing command, most likely after sending the first packet after
login