calculations to own thread (TODO: parallelize all calculations) + some visual effects