updateplayhead interval to 200 ms, code cleanup