reformat
cleaned up branch variable types
added missing sources2
cleanuüp
fixed some small bugs
added more hlts
initialize gen particle branches only when needed