Various commits, AVR/PAL working a bit better now.