fix for long layer names on marker edit page which break layout; remove SQL queries on layer edit page