The caller uses bs_read() to get the next pixel.  I should make bs_getNextWord static I think to clarify that its not intended for external use.