kills thread before window close
Merge branch 'develop' of https://github.com/kbladin/creature_evolution into develop