Repaired Client Close Bug

Fixed bug in client when closing login form.