Fixed a comment bug
Fixed some compiler warnings
Added a safety check
Fixed a comment bug where /*/ would be considered a complete comment