fixes #207

Adds parsing for command-line arguments/flags
fixes unreported bug in styles
split message fix
Merge branch 'pr725'
Merge branch 'pr732'
Merge branch 'pr730'