Logger splits logfiles now more intelligent

Logfiles gets split when they are larger than 1024kb.
But only on startup - logfiles won't split within a process.

Fixed #7
Merge branch 'master' into tv