lots of fixes

fixed radiant layout being bigger than dire. Moved user settings dir and
cache dir to user's AppData folder. Some more bug fixes.