main, glfun: make window resizable

'Hey, that's more than what I bargained for, why'd you want to malloc the matricies too.'

Well, it could hardly hurt, right?