m_spanningtree Remove declaration for nonexistent function: OnLine()
Remove unused #define ERROR -1
Kill needless #includes in source files