adding window activity property; fixes #5