fix build
revisit shader and program, and fix window deinitialization