add loading, some xib warning fixes