#7: Material API completely fixed.
#8: Window requires asset manager (completes #7).
Updated documentation.
#7: Material API bugfixes.