Many refactorings concerning the stupid Visual Studio package template.