refactored debug view (stopwatch)