fixed #1567 #1540
merged develop
moved layer panel view to a new file
added some specs