made MASTERCONTROL!!! Events will be assigned to it if defined