main, glfun: simplified link drawing

I was seriously on something when I wrote thins. '-Wall' may protect me from doing stupid things when drunk but even it has its limits. It's just a couple of bytes of stack memory, this is not the 70's.