improved: log file, GML handling, preventing user errors