Fixed Dialog

Improved Settings dialog
Prevent reuse of TextureY (causing crash)

Fix by Zachsaw.