updated conditional check on visible dynamic layers; fixed missing semicolon
Merge pull request #48 from jwasil/master

Identify updates