Added continue at end of every Cmd() check

As mentioned in issue #173
Added error message for undefined command