fixed bug in getNumber

sometimes missed characters due to extra getChar() call
now fixed
reworked clock initialisation

timers now initialised AFTER clock is set to sensible time
loop to set clock time has delay to avoid flooding the server