Preparing the new admin theme. Fixed some PHP warning/notices.