change default font to mono. change window destroy apis a bit. fix string padding