Mark,
Once you get used to how the project works, its a good idea to actually have a look at masm64rt.inc to see how it works. ML64 comes with no runtime at all and does not handle procedures correctly without a stackframe macro so you really need the macro file, just to get anything going.
With code like this,
mov rcx, offset frmt1
mov rdx, offset msg1
you are better to use
lea rcx, frmt1
lea rdx, msg1
as OFFSET is not properly supported in 64 bit MASM.