Help with motion activated servo please.

 void loop (){
 myservo.write(pos);

Why are you defining a position for the servo on every pass through loop()?

-When it is in its resting state, the servo buzzes continuously (not loud though), is this normal?

When would that be? Yours never is.