Added XML verifier and code for initialising panes.