Astprint improvements

Signed-off-by: Vinzenz Feenstra <evilissimo@gmail.com>
Merge pull request #214 from vinzenz/astprint-improvements

Astprint improvements