Fixes for fresh startup @ VS2010

With the changes application succsessfully lauches under XP32/VS2010 with no app-specific keys in Windows registry.