Geanypg/improvements

Just adding #ifndef to ensure geanypg.h is only included once