Cleaned up some linting problems in the code.

- pick now exaustively pattern matches.
- pick variable names no longer shadow other names.
- pick now uses a cleaner case structure, pattern matching to a tuple.

Signed-off-by: Damian "Pi" Lanningham <qrebound@gmail.com>