Performance improvements; Auto-sized popovers.
Fixed illegal states associated with the popup.