Rename flags. Avoid the usage of error.Fatal to call to deferred functions.
Remove fields related to size in type Terminal
Tested in BSD and Linux systems for amd64 and 386 architectures.