changed ValueError to GenericError. Added type checking for bReturn. Done for the night...
changed ValueError to GenericError. Added type checking for bReturn. Done for the night...

juliowaissman/Melopy,jdan/Melopy