Labelled bins according to the process type enum. Fixed minor bugs.