cleaned the code in displaying current permission status

Contributor: Chris Hanna
fixed BS errors