Added compile signal.
Updated StateContainer. Requires testing.