Bugfix: corrected handling of empty line scripts, improved exception handling
Authored by: prwo 2014-03-22
Parent: [r40]
Child: [r42]