Updated password callback to add rwflag size arguments to callback.
Callback now works like other callbacks with the function followed by args.
Refactored get result processing.
Added more info to doc file.