Setting loading and relativeDir on ST3 branch

Hello, folks! Checkout this st3 branch.
I tested it both (!) ST2 and ST3 on windows32 and linux64. Everything works good. Can you please test it too!

Bug:
  toggle watch mode is slow. I don't know how to run it in async way.