More tweaks of admin ui and php warnings/notices fixes.