optimizations, bugfixes, uae works (but with timing glitches?)