Fix issue #53

Now exceptions in statement parsing should not stop the whole processing but instead skip statements with errors and print a nice debug log message.