Better thread syncing, reduced CPU usage by 75%!