I got my answer for the second question from these forums, it seems that you run your application on your own pc
to the first question I am not certain, but from what these guys are doing it seems you can even run commercial applications, the only important thing for IB is that the orders are...