fixed parser recognizing ends of unrecognized lines as actuall commands
fixed an infinite loop if typing a command on the last line
buttons now re-enable themselves if the player has uses left, instead of staying disabled forever