better formatting and removed useless sysouts in StreamProcessor