tw: changed pathhandling for the log. also, tweetlength is checked more elegantly and with a feedback of how many characters are too much.