Initial implementation of main serial functionality and corresponding UI
Change initial window size to fit content