reverted triple buffering code that was causing crashes