Editor improvements.
Library tests.