Modify mlterm/main