layout changes and refactoring
include title in layer setup for better legend display
refactoring
display layers that are not explicitly marked as queryable=0
refactor button code