working on texture browser and fixing infinite loop from events