local storage bug fixes
load saved shape library