Fixed/Implemented: replaced intval() by $app->functions->intval() in all interface functions due to big number problem in intval()
http://lathama.net/Recursively_deleting_Microsoft_end_of_line_characters