Better failsafes. Tries twice if fails the first time

The second time it tries without a year defined.
Also removed (U.S.) and (U.K.) from title when searching
Move set_type() to set functions
Recompile extension