register account

1. window label clean up for mac
2. use new threaded api for register.