error fixes and cross-platform project files