Remove warnings

Add serial version UID for some exceptions.
Blocking queue objects should be parameterized.