Clicking outside of an expanded grid collapses it.
Add string.trim()
Merge pull request #136 from PrimeRevenue/ui/ui_improvements

Clicking outside of an expanded grid collapses it.