Some more work on the logging in frontend and a minor thing I forgot... namely the whole thing about permission errors when creating files.
Would you believe me if I said that I only effectively changed about three things?
Fixed the login, it now uses the updated hash function.
Moved jquery into local dirs