Updated the OBJ exporter to reduce memory consumption. Data is now written with a buffered writer and data is written proximately every 8192 characters. This should greatly reduce memory consumption for the cost of slightly increased CPU load.
Merge pull request #844 from ToxicBakery/OBJ-Exporter-Improvement

Reduced memory consumption of OBJ exporter.
Lights and shaders refactoring