Issue #125: preloading. Notice that this is still a proof of concept. Needs more testing.