added comments to profilewindow