Leonardo doesn't talk to serial monitor

Do you need brackets after this line?

your code above

while(!Serial);

like this instead

while(!Serial){}