Added some command line argument checking and usage info.