Added support for command line parameters for GSL-shell (ref #251).
Fixed setting bom value for a new editor (fixes #258).