Added event handlers for layers
Updated VGL