'#4506: Painting fix, #4503: Added converter class
Known bug (will be reported):
- when converting object which has links, program crashes.