finished code editor; fixed small issues;