Fixed compiler warnings

Boy, what a way to start the new year. Broke my 24 day streak. Missed the time by 1 hour. But did a crapton of work on super secret project. I went on a coding spree without sleep and got most of it done now. Just couple of tweaks needed, as usual, to the periodic boundary engine. Should be easy to implement here as well. But maybe some other day. Today I'm no longer using bool. sizeof(bool) == sizeof(char) so what's the point. Also fixed all compiler warnings. Still got that annoying piece of snake piss on the parser code.