Fixed bugs with inserting and duplicating columns. Fixed bug #35.