added saving of original bgcolor
added anchor param to insert method