Using Seeed Bluetooth Shield with Arduino and establishing PC connection

I have recently been having a lot of difficulty using my Seeed bluetooth shield, and due to a lack of information online about the product I have not had much luck in solving my issues myself. My problem is that although I have connected the shield to my pc, and I have uploaded code which I know works through my wired (COM4) connection, I cannot get any response through the bluetooth (COM6) connection. I have tried using the Serial Monitor, which freezes, and Putty, which just does nothing. My code is from other sources on the internet, so I have no idea which part of the process I am doing something wrong in.

When I upload code, I upload it to the Arduino itself (COM4).
The LED’s on the shield are blinking green (I read that it should either be solid green or should be blinking red as well? It only blinks red when I upload the initial code the first time or restart my computer occasionally).
When I try to control my LED through the Serial Monitor on COM4, it works.
When I try to control my LED through the Serial Monitor on COM6, the entire program freezes.

The code I am using is below. If anyone could help me determine what my issue is I would greatly appreciate it (my main suspects right now are Baud rate issues or just a problem with my bluetooth).

/*
BluetoothShield Demo Code Slave.pde. This sketch could be used with
Master.pde to establish connection between two Arduino. It can also
be used for one slave bluetooth connected by the device(PC/Smart Phone)
with bluetooth function.
2011 Copyright (c) Seeed Technology Inc.  All right reserved.
 
Author: Steve Chang
 
This demo code is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
 
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Lesser General Public License for more details.
 
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
For more details about the product please check http://www.seeedstudio.com/depot/
 
*/
 
 
/* Upload this sketch into Seeeduino and press reset*/
 
#include <SoftwareSerial.h>   //Software Serial Port
#define RxD 6
#define TxD 7
 
#define DEBUG_ENABLED  1
 
SoftwareSerial blueToothSerial(RxD,TxD);

char val;         // variable to receive data from the serial port
int ledpin = 13;  // LED connected to pin 2 (on-board LED)
 
void setup() 
{ 
  Serial.begin(9600);
  pinMode(RxD, INPUT);
  pinMode(TxD, OUTPUT);
  pinMode(ledpin, OUTPUT);  // pin 13 (on-board LED) as OUTPUT
  setupBlueToothConnection();
 
} 
 
void loop() 
{ 
  if( Serial.available() )       // if data is available to read
  {
    Serial.println("Connection established");
    val = Serial.read();       // read it and store it in 'val'
  }
  if( val == '0' )               // if '0' was received led 13 is switched off

  {
   digitalWrite(ledpin, LOW);    // turn Off pin 13 off
delay(1000);                  // waits for a second   
Serial.println("13 off");
  }

if( val == '1' )               // if '1' was received led 13 on
 {
    digitalWrite(ledpin = 13, HIGH);  // turn ON pin 13 on
    delay(1000);                  // waits for a second
    Serial.println("13 on");
  }
} 
 
void setupBlueToothConnection()
{
  blueToothSerial.begin(9600); //Set BluetoothBee BaudRate to default baud rate 38400
  blueToothSerial.print("\r\n+STWMOD=0\r\n"); //set the bluetooth work in slave mode
  blueToothSerial.print("\r\n+STNA=SeeedBTSlave\r\n"); //set the bluetooth name as "SeeedBTSlave"
  blueToothSerial.print("\r\n+STOAUT=1\r\n"); // Permit Paired device to connect me
  blueToothSerial.print("\r\n+STAUTO=0\r\n"); // Auto-connection should be forbidden here
  delay(2000); // This delay is required.
  blueToothSerial.print("\r\n+INQ=1\r\n"); //make the slave bluetooth inquirable 
  Serial.println("The slave bluetooth is inquirable!");
  delay(2000); // This delay is required.
  blueToothSerial.flush();
}

The code is a combination of two sources of code I found from online, but I do not see why it shouldn’t work over bluetooth as it works over a wired connection. I originally tried uploading them separately, but that didn’t work either (separately as in the part in void loop() was its own code). I appreciate any help anyone can give me with this.