Added an optional flag for resource autoreload. Added getFileTime function to OSBasics. Implemented resource reload for GLSL programs. Made the material editor flag custom shader programs to reload when changed. Refactored some shader code