Changes LASTPOST to CURRENTPOST, some CS fixes