Dependency parsing

Implement subtask parsing, cut down compile warnings by... a lot.