Added some debugging to default page variables in options to account for non-existant pages :)
Cleared out some irrelevant code