Massive changes.

I cant remember all of the things added to this commit and I have to leave right now. There are a lot of new windows added and a modification to how the admin login works. It not uses an interface to run code when I knows you are an admin. This means it can be used elsewhere and not just for record deletion.