Implemented microtime clock with microsecond resolution.
Fixed an issue when timer interrupt was stuck due to lost tick.