better version string handling

- only show git sha in tray icon tooltip when in dev mode
- only use first 7 characters of git sha