made toolbar resizable
removed unnecessary code
fold.preprocessor and comment only for cpp