moved lock above Len() check to prevent a race condition with adding new elements
Added ANSI n [;k] m sequence format identifier. #32.
Internal sync fix.
Update README.markdown