bug fixes to lineinterface.load / unload