added error treatment to cubes
added gbtfiles doc (orphan rst file)