Refactoring and logging
Add logging to widgets