Added notebook copying; improved handling of spaces and other special characters