Added boolean flag to prevent theme loading dialog on start up.