Fix a few bugs (home redirect, slow query on posting, tmp directory search, warnings in ACL)