Brief update - saving changes from github

mostly documentation, changed a few things around in getFrame too though because there was a memory leak.

Later today I intend to finish the documentation and switch getFrame/putFrame from taking a whole frame as a parameter to just taking a payload as a parameter.