Fixed implementation bugs.
WIP settings editor.