Ongoing treeview work

Shit is drawing!
Fixed algorithms (again)
Allowed story fragments to be comparable (for use in Set).