refactored some code used for the compression option
fix bug in dpx::fb::alpha function which was incorrectly iterating past the end of it's data