Replace magic numbers with constants.
Replace magic numbers with constants.

Some of these I took a guess at their meanings but I'm pretty sure I'm right
on the vast majority.

poppu-mtg/StackIt,silasary/StackIt