Add preferences gear link to navbar. Fixes #38.