smoother counter - separate result times from wait time

- smoother counter via uneven wait times
- running stopwatch_function() when key is pressed results in resulting times independend from callback function timeout