use integer labels, fix crash when KML is generated from rebalancer tab, added DEBUG and RELEASE make files