Fixed code issues resulting in excessive warnings 
Cleaned up GXS code a bit, removed unused functions and types from nxs and serialise items