useful wrapper for critical sections

git-svn-id: http://svn.miranda-ng.org/main/trunk@9779 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
crash fix

git-svn-id: http://svn.miranda-ng.org/main/trunk@9780 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
langpacks/russian: too long string

git-svn-id: http://svn.miranda-ng.org/main/trunk@9781 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
crash fix

git-svn-id: http://svn.miranda-ng.org/main/trunk@9782 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Langpack Polish: update

git-svn-id: http://svn.miranda-ng.org/main/trunk@9784 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
wrapping the most evident critical sections into a class

git-svn-id: http://svn.miranda-ng.org/main/trunk@9785 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
fixes #736 (Converting a contact into metacontact sometimes renames it)

git-svn-id: http://svn.miranda-ng.org/main/trunk@9786 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
fix for borkred listening ports

git-svn-id: http://svn.miranda-ng.org/main/trunk@9787 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
code cleaning

git-svn-id: http://svn.miranda-ng.org/main/trunk@9788 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
more code cleaning

git-svn-id: http://svn.miranda-ng.org/main/trunk@9789 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
- fix for 64-bit incompatibility;
- STL removed;
- copyright update;
- massive code cleaning;
- version bump

git-svn-id: http://svn.miranda-ng.org/main/trunk@9790 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
oops... not committed from the first time

git-svn-id: http://svn.miranda-ng.org/main/trunk@9791 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c