minor cleanup of player input handling