Minor improvement and bugfix to the dev console input

Now echos the command and prevents dispatching empty ones