eclass-local-contextadmin

Fixed bug #778, activities and blocks not getting dimming class when not visible if lock enabled.
Fixed bug #777, code warning about uninitialized object.