Preloading Frames and storing them for later use.

A canvas shows, which Frames have been preloaded (black), which are currently loading (blue) and which got an error (red - these will be loaded again).

Most of the important stuff is in the preload.js