low level optimizations
more small low level optimizations
replace some qt container with hand crafted single linked list
fix regression tests