Moved the serial port script into renderers and cleaned up unused stuff