comment cleanup
reorganise functions
State now lists by line rather than column, reduce number of XenAPI calls
Merge branch 'master' of github.com:al4/xen-manager