Server loop trap: discussion on label, and better (non-standard) code indentation
Handle compile and runtime errors. Refactor collapsing with functions show/hide