Fixed an index out of range excpetion on cmd parsing. Added errorlogging to cmd parser. Added errorlogging to title.