Improved visualisation (added syntax_tree labels and reference count), begin debugging syntax_tree