ofline and online mode added
forcing console-scrollpane to have a scrollbar by printing ot a lot of spaces