Code cleanup on client/sb/*.lua