Added SmoothDebugWindow (with its test).