ensured the correct language tab is selected by default

not sure this is entirely correct, but it's consistent with the language
selection menu (`app/views/layouts/_controls.html.erb`)
replaced hash with OpenStruct for readability

this significantly cuts down on visual noise

perhaps we should consider a proper `Language` class instead, as that
would make its structure more immediately apparent - but I wasn't sure
how best to name(space) that