Configure tabs, encoding and drawing