Fixed a double motion/motion directory problem
Fixed a memory leak in read config dir
Removed un-needed call
Moved #define events to an enum and added a to string option
Cleaned up log arugment parsing from the commandline.  Can either
specify a # or the char initials.