Disable click in search history while action in progress (issue in Firefox, not Chrome). Various layout improvements and code clean up.