Refactor error/success reporting for commands

Errors are red, success messages are yellow.

I see no reason why these strings should be concatenated by hand every time.