Clean up some metadata logic
Better debug output
Add bitwise rendering method