Fixed not camel-like variable
Fixed unefficient filtering of multiple whitespaces
Fixed useless variables
Removed useless "loaded" var