correctly referenced the code taken from https://github.com/tbicr/OfflineMap
fixed 2 small display bugs (ProgressControl)