fix lots of memory allocation stupidity
better opacity level for tileset view