Initialized all previously uninitialized pointers to NULL in initializer list for MainWindow.
getBytesFromFile() is implemented.