Set default StartUp project to a sample which I have improved; removed unused references

Also, I've made the IDisposable implementations better