Minor changes

Added \n to the end of global declarations. Now sets to clipboard "cant
match anything" if the text cant be parsed