Fixed some path issues on the admin interface
Fixed some path issues in admin, tidied up the install sql.