added compact cards mode.
bug fixes.