Fixed unhandled bad atom specifier exception
Partially working now
After I found the place where all data gets overwritten with defaults, it now
works for samples/test.vtf
Ranges now also work correctly. Samples file for ranges added (although the content doesn't make sense)
Untabified
Some cleanup.