return is useless when script thorws exception
Typo fix and update docblock
Removed GetMessages from WaitforReceipt

Using this without processing them would dump messages into oblivion
Added exception on missing key
Merge with Shiroko Master