Changed JixelLoader to JixelStateManager
Added customizable shutdown hook