Cleaned up jsDoc and style for display and main.