Added some new documentation, removed unused features, fixed a small bug in Gsave().
The variable data allocated memory before checking whether the object it used to get its size existed.