Eclipse writer remove eclipse handle

this PR is based on #559. The only difference is the last (quite big) patch. Once #559 is merge only this patch should appear in the series...