Allow Gesture submission via Enter key, fix bugs