Support 2bit and 4bit embedded bitmaps
[ft] Fix math
[ft] Add missing include
Revert accidentally committed stuff