Fix exit statuses and whatnot with some of the new command framework.