began implementing MySQL storage (untested), cleaned up things a bit
more, fixes to SeedGen again, fixes for Dyes being all black