myria_web_main: refactor for testing
myria_web_main: refactor for testing

It also seems faster, but I am honestly not sure way. Maybe some work is
being cached that wasn't.

uwescience/myria-web,uwescience/myria-web,uwescience/myria-web,uwescience/myria-web