Small, general code cleanup 

Removed dead code, improved alignment, fixed warnings, and cleaned up `DumpTGA()`.
Not really sure what you are saying (maybe you misunderstood my point?), but never mind anyway since apparently I was misreading the C++11 spec.