Rewrote timer tick method to fix part of Issue #93.

Needs testing on all three operating systems before accepting the pull request.
Fixed issues with the Mac OS X code
Removed qDebug lines
Merge pull request #102 from rdnelson/timer_rewrite

Rewrote timer tick method to fix part of Issue #93.