Added tools panel.
Minor fixes.