fixed double key press bug; added command queue processing