basic spell functionality, improvements to gesture drawing