Update PluginHandler.cs

Fixed the start-of-packet detection and straightened out the indexing in serialPort_DataReceived