Added a missing library.
Added basic functionality to the instrument editor.