More 2.4 standards issues rectified

Changes made based on "base" moodle theme