Ensure layers property is only present on layers that have sublayers
Misc debugging
Moved sample stylesheet out of repository
Added z-index property