bugfixes: multi-user pst.php, encodings, others