Some repository cleanup

I made some repository cleanup. Could you please review it?
All was mostly around:
 * updating VS2010 build
 * removing duplicated code (by using 'links' to source files in Visual Studios)
 * getting rid of warnings in code

Sorry, it was a MUST-DO, before I start adding some real new features. I would love to sync it in the original repo, in case you commit new stuff/fixes in the future.