added some smarts regarding vim coloring based on the present of a gui or terminal