Add support for bool formatting
Add better documentation, and fix some floating point flag stuff