fixed cmd_errors and other small things.
more nice things.