code cleanup
profiling spots added
profiling WIP
finishing workers profiling
metzrics for redraw added