several bug fixes for saving notebook / posting to shock