editprofile.php addons, and other minor fixes