Corrected bug in errors
Converted numerous receivers to pointer reveivers
Added some documentation