- callbacks for GUI
- minor fixes