Remove unused declarations and redundant open statements
Do not copy Visual Studio dlls to output folder
Reinforce code style
Merge pull request #590 from dungpa/cleanup

Cleanup