The dictator opened a major party congress with a weapons display and a declaration of optimism.