Show altitude even when not in rotating frame.
Show vertical speed together with altitude.
Use parent frame for starports and only calculate altitude if close enough.
Fix frame confusion and some minor issues in altitude/vspeed calculations.
Fix segfault during exit.

The job runners are threads that use the job queue, but when the job queue is
destroyed at program exit, the job runners continue to run. On some occasions
they were attempting to run job queue functions after the queue was destroyed,
causing the segfault. This patch addresses that by adding a mutex and a flag
that belong to the job runners, telling them that the queue is destroyed so
they avoid accessing job queue functions.

Most of the credit belongs to Robert Norris who helped with diagnosis, code
structure explanations and hints.
use static_cast when casting between void* and a specific pointer type

See this StackOverflow question:

http://stackoverflow.com/questions/310451/should-i-use-static-cast-or-reinterpret-cast-when-casting-a-void-to-whatever

But note that reinterpret_cast for this does work fine in practice, and is
defined to work fine in C++11 (assuming that change got through committee).

My reason for preferring static_cast is really that static_cast works,
so taking reinterpret_cast out of the big scary toolbox of C++ features
marked "use-at-your-own-risk", "here-be-dragons", is not necessary and
should therefore be avoided.
use static_cast when downcasting from Body* to a derived class

reinterpret_cast is incorrect for this purpose, and could result in
serious bugs.
Merge remote-tracking branch 'johnbartholomew/cleanup-reinterpret-cast'
Merge remote-tracking branch 'lwho/altitude_view'

Conflicts:
	src/WorldView.cpp
fix a segfault when a redscreen error is closed. fixes #2466.

Thanks to @pgimeno for reporting this, tracking it down and fixing it.
show a recoverable error message if game load fails from the main menu
data/lang/Polski.txt
N_WHATEVER_RADII
ALT_IN_METRES
ALT_IN_KM
Removed the miniz project and references to miniz.lib
Updated the various vs2012 and vs2013 projects for SDL2 changes.
Merge remote-tracking branch 'fluffy/UpdateVS2013ExpForSDL2'
vc2010
use ScopedArray when allocating with new[] in SQuadSplitRequest

Fixes valgrind warning about mismatched new[]/delete.
initialise m_showCameraName in WorldView::InitObject()

Fixes a valgrind warning about a conditional using an uninitialised value.

This is actually somewhat important; in WorldView::UpdateCameraName,
the value of m_showCameraName is checked before it's initialised, and if
it's non-null (which is entirely plausible and happened in my test run),
the code calls Remove(m_showCameraName), which then gets a bogus pointer.

I'm not sure how this hasn't bitten us before... maybe worth working out.
initialise m_mode in InternalCameraController constructor

Fixes a valgrind warning about a conditional using an uninitialised value.

Before this fix:

- Constructor calls Reset()
- Reset() calls SetMode(m_mode)
- SetMode(m_mode) assigns m_mode = m_mode, and then switches on the m_mode
  value.

After this fix:

- Constructor sets m_mode
- Constructor calls Reset()
- Reset() does whatever is necessary to reset, retaining the current mode.
initialise m_zoomClamped in (both) SectorView constructors

Fixes a valgrind warning about a conditional using an uninitialised value.
Merge remote-tracking branch 'johnbartholomew/cleanup-valgrind-errors'