Attempt rewrite of style parsing

(various fixes and improvements)
Merge branch 'master' of github.com:megawac/qwebirc-enhancements
Handle no data on disconnect