Clean the code, removing redundancies.

Bug fixed: when the sempahore of PublicTransportCenter points to other
instance (BusThread.java).