K 10 svn:author V 5 ariff K 8 svn:date V 27 2007-06-14T11:15:51.000000Z K 7 svn:log V 126 Buffer optimization and locking cleanup. Don't resize/malloc unless it is really necessary to ease down unlock/lock sequence. END