shift variable local again
remove all references to global shift variable
all variables now restore when clear is restored
Merge pull request #106 from OwenMcGirr/iss#104#105

multiple issues (#105, #104)