Added eventqueue, idfile, statefile optionsg