Added instance and arguments to CCoreApplication