After having a lengthy discussion with some database gurus (lol - well they knew a lot more than me) - I am actually rebuilding this all over for a 5th time from the ground up, using proper methods of security, the actual Database editing tools will be contained in a separate module that never even becomes a part of the PW environment now, keeping the nasty little DROP TABLE commands a long way out of reach of a potential hacker that figures some way of firing scripts on the server.
With this final step on improving the security features, I've also chosen to directly integrate the module with MySQL databases, maybe later I will do ports to other popular database environments.
Now, I've really got to get on with this - I'm back pretty much to square one, and am starting to feel the stress of the constant restarts
