Add language select, solved minor bugs