Code cleanup, minor tweaks, new features

Done lots of code cleanup (mostly because of confusing parts, or just to make it look a bit nicer), some minor tweaks and added Hall of Fame feature, fully working only when DB is connected!