further work on texture editor

Texture editor is now stable, however not completed yet.
Filters are not working, textures could not be saved and other layers
could not be added