Textiles & TextileManager (and draw nullptr safe)

Also added a safeguard in drawmanager if trying to draw something that
is nullptr.