added comments, adjusted loaded widgets