Handle add and back in remote app add properly

Additionally, screenshots will be loaded via JavaScript if it is available.

Fixes #158 (closed).