cleaned up lock manager class a bit