removed runPanel border and some cleanup