Remove PhysicsManager singleton and use shared_ptr instead.  Resolves the issue where sometimes destructors were called in an unexpected sequence resulting in a crash while exiting the application.
Initialise null shared_ptr
Another missed null shared_ptr conversion for gcc.
Do not delete physics objects if it was never created (e.g. preview window)
Move the destruction of global resources, being used by multiple documents, to the editor.
Do not destroy overlay if it was never created (e.g. due to an Ogre exception).
disable element visibility buttons that do not apply to the respective cell type
Fix #1734: AI will stop combat if target disappear
path to game get through jni
fixes
silenced some annoying warnings
fixed another case folding problem regarding OpenCS resources handling
handle other Windows-specific path issues regarding OpenCS resources handling
Merge remote-tracking branch 'viadanna/fix/invisible-combat'
updated credits file
Merge remote-tracking branch 'scrawl/master'
Use float for setting skill use values.  Should resolve bug #2183.
Merge remote-tracking branch 'cc9cii/master'
Overwrite existing records in IndexedStore (Fixes #2182)