Correction of GLOBAL bugs; various minor clean ups

Still having trouble with unreliable Xeffort library; had to change type
name to make it work :-(