added fixes so that there were no more exceptions being thrown.  also fixed a few other problems, but on line 725 - not sure what should be done there - just added some logic so that we don't have callbacks.accept() being called with undefined parameters.
Merge pull request #261 from MindsIgnited/push

Bug fixes in Master