Ported to new PIC, improved clock, remote reset

Fixes #5, fixes #6, fixes #11, fixes #12