updated error and usage exiting, along with other useful commands