Fixed bug where window and context were destroyed before application dtor
Ported to C all but math and model
Added .gitignore