added window borders
clean up font loading code