Set default StartUp project to a sample

Also, I've made the IDisposable implementations better