Had to add GLUT_DEPTH to glutInitDisplayMode for proper object depth ordering.
Added new stuff to gitignore.