added a check for a draw and cleaned up modules
updated styles