I cannot see anything wrong with the telnet side of your code, but I am no telnet expert.
On the LV side of your code, you may want to move the boolean terminals inside of the event that pertains to them. This way your buttons will pop up after the event is fired.