added debug info to debug bar (if installed) + fixed bug with post field type + managed to do some unwanted code indentation cleanup. hope it does not break anything :/