Abstracted a chuck of do_command() into seperate function do_move(), moved that call...