process builder
uncomment some key features in main
corrected some ifs, made major changes in ProcessManager
checks if there were any calculating alignments before restart