add first batch of enrik's ar7 system code cleanups