Primitive arrays , javadocs, & misc

Fixed primitive array pickling.
More Javadocs.
Misc bug fixes.