Error Handling / Finalisation

created the delete account, edit topic, and delete topic pages.  Also
heavily modified all scripts involving prepared statements to allow for
better error handling.