Refactored console script when dealing with objects

Refactored console to show object properties in a better way
Refactored to only load visible properties instead of recursing through the object