Split .ref file out into Bugs, Facts, Glossary and Graphics ref files.

Use the new AND-OR masking operator to decode the game sprites (ie. bitmaps + masks) and present them on the Graphics page.
Fix a load of incorrect dimensions in decoded images.

Fix incorrect names (mask -> bitmap).
Only clip masks where they overlap.
Fix a load of incorrect dimensions in decoded images in Graphics.ref.