Glitch not fixed! Code cleaning

Did some durastic code cleaning, fixed a few glicthes, but a major
glicth between 12 and 24 hour conversion has caused havoc. I will fix it
later, taking a break from it for now and will also add in comments to
body.