bootclockrandomization: randomizing milliseconds; added error handler; refactoring