TickLoop thread
Changing code parts [Hey! Don't look here!]
Fixed Memory Leak