Added the follow the foreground window function

Add a new Windows event hook to capture the foreground window changed
event, in order to be able to capture the window which is currently in
the foreground at any given time.
Fixed some project path values

Paths were fixed to reflect the new locations.