just some minor coding style adjustments
update graphics subsystem code to add mipmap support and also add initial GL texture stuff and helper functions