Fixed syntax errors and updated GUI.

Budte vnimatelnee)