Added DlgChooser, plus some C++11-related changes.

Signed-off-by: FellowTraveler <F3llowTraveler@gmail.com>