Altered lib and SSO to fix a couple of bugs

SSO was encoded with a BOM, which may be the reason why a character was
output before session start.
Removed functions that handle drag and drop.