Set properties from main application

Set the resourcepath, windowsize and runnerclass from the main program
entrypoint to avoid having to send as commandline parameters.