new parameters added to GUI and various bug fixes