decrease legend font size
remove unused functions, fix layer info descriptions