inline doc for bitmap_io, bitmap_draw, cleanup debug