cleaned up some of the localisation code, moved some textures to local storage, general housekeeping