'-vga std' is unneeded
problems found through scan-build