src/background: minor cleanup

* prefers dot notation when possible.
* removes whitespace
* semicolons
Merge pull request #268 from duggiefresh/background-minor-cleanup

src/background: minor cleanup