Minor fixes

Fixed bug in terminal emulator
Added preprocessor defines for code size reducing
Merge branch 'master' of https://github.com/OlegUA/ST7735