Cleanup (Windows/Linux) and fixed wrong arguments for printf ...