Fixed crash when lines are less than two characters long

When lines are less than two characters long the comment check crashes.  With this patch the application throws an exception (because it doesn't support blank lines and has no one character commands) but it does access an array out of bounds.