made a less buggy correction handler that mostly works
implemented snippet handler, updated correction handler