grim/guifications3

implement the preference uri command line and environment variable handling. This hasn't been tested yet, unit tests to come soon.

refs #69