Bugfixes and new tutorial framework

The drag bug should now hopefully be properly fixed.

A new framework for a tutorial has been made.