non continuous rendering with a TimerTask and locking in World