Cleaned up some compiler warnings
Revamped variables

Changed from using buffer local variables to variables interned in
cscope-obarray because the buffer local variables kept getting wiped out
with major mode changes.