Some attempts to get the Texture Preview window working correctly. Signed-off-by: Beeks <HgDelirium@gmail.com>