Added checking code so that people don't install this on an unsupported
wordpress version. Work still needs to be done.
Corrected version checking for theme.
Remove more crap from the header
Corrected some errors picked up by theme review plugin and fix some
deprecated functions.