O Morozova check fields lengths 

Please check GUI fields lengths by constants and correct #508