main toolbar renders buttons on layer removal
proper counting of items in layer store