Fixed: Removed Application_Error code, it doesn't work since these Error values are not propagated anymore in Gambas 3.5.0 and higher.
Fixed: Small code/empty line changes.