Code refactor: modularize dealer/play check; fix ui bugs