Fixed some bugs in the Realtime Timer class (the Thread wasn't deamon,
Thread.sleep was called by a Thread instance while it is a static
method).