firmware
diff --git a/32blit-stm32/Src/usb-serial.cpp b/32blit-stm32/Src/usb-serial.cpp
index 4814bbe..c68a8d5 100644
--- a/32blit-stm32/Src/usb-serial.cpp
+++ b/32blit-stm32/Src/usb-serial.cpp
@@ -139,7 +139,7 @@
   // appropriate handler, then streams all incoming data directly to

   // the handler until the command processing is complete

   void parse_command() {

-    constexpr uint32_t PARSE_STREAM_TIMEOUT = 250;

+    constexpr uint32_t PARSE_STREAM_TIMEOUT = 500;

     static    uint32_t last_packet_time_ms = blit::now();

 

     static CommandHandler handler = nullptr;

diff --git a/examples/flash b/examples/flash
index aaaeee6..a7136a0 100644
--- a/examples/flash
+++ b/examples/flash
@@ -41,14 +41,6 @@
   print("The port may not exist or you may not have permission to access it.")
   sys.exit(os.EX_OSFILE)
 
-# then transmit the image across with 
-#
-# SAVE
-# (null)
-# length as string
-# (null)
-# binary data
-
 file_size = os.stat(path).st_size 
 file_name = os.path.basename(path)
 sent_byte_count = 0
@@ -63,21 +55,13 @@
 command = "SAVE\x00{0}\x00{1}\x00".format(file_name, file_size)
 serial_port.write(bytes(command, "ascii"))
 
-#serial_port.write(b"32BL")
-#serial_port.write(b"SAVE\x00")
-#serial_port.write(bytes("{0}\x00".format(file_name), "ascii"))
-#serial_port.write(bytes("{0}\x00".format(file_size), "ascii"))
-#serial_port.flush()
-
 with open(path, "rb") as f:
   progress = tqdm(total=file_size, desc="Flashing...", unit_scale=True, unit_divisor=1024, unit="B", ncols=70, dynamic_ncols=True)
 
   while sent_byte_count < file_size:
     data = f.read(chunk_size)
-    serial_port.write(data)
-    #serial_port.flush()
-
-    
+    serial_port.write(data)    
     sent_byte_count += chunk_size
     progress.update(chunk_size)
     
+  progress.close()
\ No newline at end of file
diff --git a/firmware/firmware.cpp b/firmware/firmware.cpp
index 283f51d..a5aac92 100644
--- a/firmware/firmware.cpp
+++ b/firmware/firmware.cpp
@@ -10,7 +10,7 @@
 */
 
 
-#include "flash-loader.hpp"
+#include "firmware.hpp"
 #include "graphics/color.hpp"
 #include <cmath>
 #include "quadspi.h"