made eG_readClipboard function a "private" method in eGf
moved eG_getSelection function from functions.js to integration.js, where it is used
made some code formatting changes, declared some undeclared variables, refactored eG_canGoUp