Rearranged bugs vs version.
Fix indentation and attribution.
Updated with the merges to v4.0.0