One more question how do you create a transaction that has non-standard output?
Something like this:
QByteArray tx;
...
tx.append ( (char)OP_RETURN );
...
Is that the transactions where you send coins to an address from which everyone could spend it? Also how to do the above(the thing that you mentioned) with bitcoind or bitcoinqt debug window?