Added event handler to texture formats. Now changes to textures can be notified a proper way. Added also sorting of the listview by column. Some refactoring as well.