Finished SDL and Windows ports