Move hogfile location text out of function argument list

MSVC chokes on using preprocessor conditionals inside a string.
Delete unused function select_group
Use array::iterator for editor segment groups

The new way is correct always.  The old way worked on gcc, but failed
for VC2010.
Remove unused ui/barbox.cpp