Fixed location of logfiles (init.state and -trace). This fixes #608