More misc work

Added save stuff and started some work on xml's, the widget stuff still
needs a lot of work