Added a warning for too early gui creation.
Added a function-in-function update test.
New version: 0.2.1