added some controller tuning parameters
added several improvements