Fix a typo in a comment
Move handling of /r command-line parameter to OnEventLoopEnter

Since the event loop doesn't exist yet when OnCmdLineParsed is called,
the profiling progress dialog is unresponsive to input events. This
made it impossible for profiling to stop in any way other than the
program terminating.

Options were also not loaded at that point; thus, the SpeedThrottle
option was being ignored when using /r.
Lower profiler thread priority when sampling ends

The sampling is frequently interrupted with Sleep calls, which allows
the GUI to remain responsive. However, the "symbol query" phase is very
CPU intensive. Running it at TIME_CRITICAL priority causes the GUI,
and seemingly even the system as a whole, to become unresponsive.

Since critical priority isn't of much use once the sampling is done,
lower the profiler thread priority to NORMAL.

I took the liberty to do a bit of refactoring in MyThread for the sake of
encapsulating operations on the thread handle.
Add cancelable symbol query progress

Although sample analysis did have a wxProgressDialog associated with it,
the code never even called dlg.Update, which caused the progress bar to
always remain at 0%. Now we correctly display progress of the various
stages of post-processing, display what is actually being done, and allow
the user to abort and exit the profiler.

Progress accuracy was also increased from percent to permille, since the
progress bar is more than 100 pixels wide.
Don't go through symbol lookup if sampling was aborted

Abort means abort, geez.
Tweak database load/scan progress messages

Make the messages for the two operations different.
"Please wait while" is redundant.
Add tooltips to Profile All/Selected buttons

It wasn't clear to me what "all"/"selected" referred to at first.
(AMD's CodeAnalyst profiles all processes by default, for example.)
Don't completely abort due to one failed GetThreadContext call
installer.iss: Don't use absolute paths
Added a gitignore
Removed a couple of user files
Added VS2010 solution files
added ipch/ to gitignore
Minor const fix for VS2010 build
Added *.aps to gitignore
Added option to limit (roughly!) how long the profiler runs for, to make comparing multiple profile runs easier
Merge pull request #1 from benjymous/my

Added option to limit how long the profiler runs for, build fixes for VS2010, added gitignore
Rename "OK" button in Launch dialog
Create the progress window before we create the process

Otherwise, the window may steal focus from the created process.
This can be a problem when profiling full-screen applications,
like games.