Launch GUI when no controlling arguments are provided.
Fix memory leak;