Better macro editor, error reporting and halt for failed commands