Add divby0 fault handler and abstract things better