Added click event
Added methods for internal access
Implemented click support for labels and children of mainwindows