Code optimization and a bit of tidying by Paul Licameli.
No changes to UI or algorithm.

git-svn-id: http://audacity.googlecode.com/svn/audacity-src/trunk@13437 47890b92-0858-11df-a26f-8b716316a5bc
Changed mods back to modules again.

Review did not like 'mods'.  Was felt to be too non-standard.  Note that we gained a '?' on a question to the user, an internationalisation hint about the word 'modules' and the words 'the Audacity Manual' (note caps) in making and 'reverting' this change.

git-svn-id: http://audacity.googlecode.com/svn/audacity-src/trunk@13438 47890b92-0858-11df-a26f-8b716316a5bc
One final instance of 'mods' (in a comment) changed to 'modules'.

git-svn-id: http://audacity.googlecode.com/svn/audacity-src/trunk@13439 47890b92-0858-11df-a26f-8b716316a5bc
Split Inits between OnInit() and FinishInits()

This is after reading a note in the release notes for wxWidgets 3.0.0.  We need an event loop running to show a dialog in 3.0.0 (even though the splash screen works without).  

git-svn-id: http://audacity.googlecode.com/svn/audacity-src/trunk@13440 47890b92-0858-11df-a26f-8b716316a5bc
Code to make dialogs early on work in wxWidgets 3.0.1.  

A complication is that the 'OnEventLoopEnter()' gets called many times, so we need to only call FinishInits() once.  There is something else not right with the dialog this early on, so for now I have moved it back into the OnAppInit() which works on both wx2.8.12 and 3.0.1.

git-svn-id: http://audacity.googlecode.com/svn/audacity-src/trunk@13441 47890b92-0858-11df-a26f-8b716316a5bc
Add include to fix problem in release build with overload void return in thread.h.

(From Andrew Hallendorff, e.mail on audacity-devel, 13-Oct-2014)

git-svn-id: http://audacity.googlecode.com/svn/audacity-src/trunk@13442 47890b92-0858-11df-a26f-8b716316a5bc