Fix Windows compatibility.
Update files to MinGW CodeBlocks project.
Remove old unused files.