Bugfix for StartOfLine() (actually Context.stringBefore())
Style cleanups.