change clip type in StartPanel and fix the exit function

change dispose into System.exit(0) because dispose method cause
problems. Hope  "System.exit(0)" won't cause trouble in the future.