moved actions array to static variable for performance improvement and added file validation on compileAction
fixed tab width