timer: stopped -> ended
timer: fix page hidden counting. closes #16