Made random texture visible.
Added Windows support (maybe).