fixed Line#: removal issue and added marginnote dictionaries