a few bug fixes, many plots and side analsyes. dirty