Added init game features.
Fixed bugs from UI redesign.