Automatically detects card size

* Removes all client-side debugging