Only one little beef... how is this:
X O O O
----------------------
| | | | x |
----------------------
| | | | | |
----------------------
| | x | | |
----------------------
| | | | | |
Resulting Notes: A F G C E
An "A" chord. By note math it should be an "Ab5m7" or perhaps a "FM7Add2/A"
Coding my way to the next BSOD!