Cleaned up comments added enums to make code easier to read
Added palette pointer
Added more readable variable names
Started to turn the buffer code into legable C
more C cleanup
Translated more into C