fixed several bugs in app defaults.

- fixed app window object from being added as an available app
- fixed duplicate apps being added in available list