Fix and refactor warning message

- test on emptiness was reversed
- didn't like code duplication
Fix #1633 "FB: Edit and language icons no longer visible"

- use Less's `(reference)` directive
- also fix license headers
- change non-silent comments to silent comments