[feature] Initialize window from config.