Move lib code to lib dir. Update to new Chrome ext. methods. Simplify background.js passing of requests. Can now enter TPID using a keyboard.