main, glfun: use struct for some options, draw axis unit vectors

I see everyone else is using a struct for options, so why not? Seems nice enought to only pass the struct to whatever function you want. I like it. Will take me a while to make every option use that struct though. I should have used this from the start.