On windows use the higher accuracy timegettime function to really get 1ms clock and timer accuracy.
Simplify cgsleep code for windows by using a typedef for cgtimer_t that resolves to clock resolution, using that internally.
Prepare sleep time on bflsc if no dev needs work yet to avoid busy waiting.