Simplified main.cpp
Added file extension to pcp2gv, small modifications