Fixed bug where UI would not display 0 seconds when Timer finished.
Cleaned up a few typos and renamed some variables.
Don't pollute global namespace.
Fixed a few typos