Fixed many wrong or missing semicolons

Not sure whether you will be interested in such commits, so if you prefer not to change existing code just deny this request.
I've just fixed few warnings IDEA produced. There are tons of them :)