cannot pack objects other than the first one.  closes #1.
added support for E in pack (double)
removed unused variables