metaprogram's constructor creates the <root> vertex

This way, there will be no invalid metaprogram instances
which lack the <root> vertex
Don't assume that root_vertex is 0
Add better checks for debugger command preconditions
Fix segfault when ft is ran on <root> node