fixes for clients positions expiring, fixes #38, fixes #37, fixes #36, fixes #11