Don't use TheSS signal handler in coreginx helper.
Added handling of TERM signal.
Resolved some issues with hangs on lock acquiring.
Redesigned file locking to system locking. It's now literally impossible to launch several instances of TheSS but it's still hanging and we can't manage that. There's still problem when lock is released and several instances are launched.