Performance tweaks: remove array_push, skip GD, some minors
Merge pull request #5 from JeLuF/perf

Performance tweaks: remove array_push, skip GD, some minors