Add lots of logging.
Mak time-out smaller
add refresh.
Bump to 0.0.10 for missing CORS declaration.
Move cors declaration up.
Try different CORS fn