Clean up structure of normalscan.c for readability