CharAtPos now works

Also added undo disable, moved unsubclass call to close event