Modified logic of GetCommand function + clean up

GetMessage() now returns a bool so that GetCommand can break out of its
timeout loop whenever it receives the confirmation message.
Tweaks + Added more executable commands