fix runtime err & elimination of GLUT from osmain.rs