Various install script improvements

- Check for running as root
- use dialog(1) if available