Added Register Dialog and updated stuff.