gesture definitions finished, bug fixes