fixed relToProfileDir and resize problem in options window