Add ruby 1.9 fixes.
Cleanup whitespace.
Add FIXME.
Add macosx qt5 support.