Added pre-loading images

Should fix "disappearing" textures and improve performance greatly.