Usability bug fixes (not ready)

Fixing various bugs found while actually using glimpse in sample app.