terminal functions added, auto-update uses AJAX->py direct for faster response