cleanup, messup, correction of registry loading/writing...